//
//  CommentListModel.h
//  XiaoHongShu
//
//  Created by Jason on 2022/7/29.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN
@interface CommentListModel : BaseModel

@property (nonatomic, strong) NSArray<CommentListModel *> *subComments;

@property (nonatomic, strong) CommentListModel *targetComment;

//这个评论的标识符（评论id）
@property (nonatomic, assign) NSInteger commentID;
//当前笔记的ID
@property (nonatomic, assign) NSInteger noteId;
//评论内容
@property (nonatomic, copy) NSString *content;
//该评论当前的点赞数量
@property (nonatomic, assign) NSInteger likeCount;
//用户是否对该评论点赞
//@property (nonatomic, assign) BOOL liked;

//该评论是否由作者发出的
@property (nonatomic, assign) BOOL isAuthor;
//类型。默认为0 - 文本类型
@property (nonatomic, assign) NSInteger type;
//IP地址
@property (nonatomic, copy) NSString *ipLocation;
//该评论者的userID
@property (nonatomic, assign) NSInteger userId;
//该评论者的昵称
@property (nonatomic, copy) NSString *userName;
//该评论者的头像
@property (nonatomic, copy) NSString *userImage;
//该评论的发布时间
@property (nonatomic, copy) NSString *lastModifiedAt;
//该评论的子评论数量
@property (nonatomic, assign) NSInteger subCommentCount;





@end

NS_ASSUME_NONNULL_END
